package com.codechuan.hallo_web.mapper;

import com.codechuan.hallo_web.entity.SysUserAccountYk;
import org.apache.ibatis.annotations.Param;

public interface SysUserAccountYkMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysUserAccountYk record);

    int insertSelective(SysUserAccountYk record);

    SysUserAccountYk selectByPrimaryKey(String account);

    int updateByPrimaryKeySelective(SysUserAccountYk record);

    int updateByPrimaryKey(SysUserAccountYk record);

    SysUserAccountYk selectOnAccount(String account);

    int updateAccountToken(@Param("token") String token,@Param("ticket") String ticket,@Param("account") String account);

    void updateAccountTokenStatus(String account);

}